/**
 * @Auto generation code
 * Commodity Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * 获取用户已选择菜品 - GET
 */
export const showChoose = async (, {// path params
		orderId   // 周期包ID  
	
}, loading) => {
	return await request.get('/customer/cycle-order/${orderId}/commodity-choose', {
		
	}, loading)
}


 console.log('存在put方法，未兼容/customer/cycle-order/${orderId}/commodity-choose，后端需要更正');
/**
 * 
 * path, params, loading
 * 获取推荐列表 - GET
 */
export const recommend = async (, {// path params
		orderId   // 周期包ID  
	
}, loading) => {
	return await request.get('/customer/cycle-order/${orderId}/commodity-recommend', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * 获取具体某一天的推荐菜品列表 - GET
 */
export const recommendByDate = async (, {// path params
		packageId ,   // 周期包ID  
		orderId   // 子订单ID  
	
}, loading) => {
	return await request.get('/customer/cycle-order/${packageId}/commodity-recommend/${orderId}', {
		
	}, loading)
}

